var express = require('express');
var app = express();
var path = require('path');
var fs = require('fs');

app.use(express.static('public'));

app.get('/babylon', function (req, res) {
   var data = fs.readFileSync(path.join(__dirname, '/babylon/babylon.html'));
   res.write(data);
   res.end();
});



var server = app.listen(8081,"172.27.35.1",function () {
   var host = server.address().address
   var port = server.address().port
   console.log(host);
   console.log(port);
   console.log("Example app listening at http://%s:%s"+"/babylon", host, port)
});